home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1481.dms / var1481.adf / Scripts / Script Notes < prev    next >
Text File  |  1994-07-07  |  1KB  |  40 lines

  1.  
  2. Notes about the scripts...
  3.  
  4.     Double clicking on scripts with included files
  5. will causes errors in parsing the scripts.  This is not
  6. a problem with Magic Camera, but rather a problem in the
  7. way that the included files were referenced.  They are
  8. typically included with
  9.  
  10. include "scripts/filename"
  11.  
  12. which indicates that MC must have been executed from the
  13. parent directory of the directory that contains the
  14. included file.  There are two solutions:
  15.  
  16. 1.  Edit the script file so that the include statement
  17. reads:
  18.  
  19. include "filename"
  20.  
  21. 2.  Run MC by double-clicking on the MC icon (rather than
  22. the script icon) and using the options window to specify
  23. the script file.
  24.  
  25.     A solution which allows the included file to be reference
  26. no matter how MC is started is to use an absolue pathname,
  27. i.e. if the scripts are in the directory MC/Scripts on the 
  28. Work: device...
  29.  
  30. include "Work:MC/Scripts/filename"
  31.  
  32.  
  33.     The best solution is to create a logical device
  34. (from the shell)...
  35.  
  36. assign MCScripts:  Work:MC/Scripts
  37.  
  38.     and use
  39.     
  40. include "MCScripts:filename"